<ul class="clearfix">
  {foreach $list as $k=>$v}
  <li><a href='{AnUrl("goods/{$v.id}")}'><img src="{_image($v.cover, 'middle')}"></a></li>
  {/foreach}
</ul>